3904995f94633c5959f7bf8165ec79cc37fec5ef,src/main/java/com/urswolfer/gerrit/client/rest/http/groups/GroupsRestClient.java,GroupsRestClient,list,#ListRequest#,96

Before Change


        // determine whether to throw a NotImplementedException

        // TODO Implement the other query parameters supported by Groups.ListRequest
        if ((listParameter.getOptions() != null) && (listParameter.getOptions().size() > 0)) {
            throw new NotImplementedException();
        }
        if ((listParameter.getProjects() != null) && (listParameter.getProjects().size() > 0)) {
            throw new NotImplementedException();
        }
        if ((listParameter.getGroups() != null) && (listParameter.getGroups().size() > 0)) {
            throw new NotImplementedException();
        }
        if (listParameter.getUser() != null) {

After Change


        if (listParameter.getVisibleToAll()) {
            throw new NotImplementedException();
        }
        if (!listParameter.getOptions().isEmpty()) {
            throw new NotImplementedException();
        }
        if (!listParameter.getProjects().isEmpty()) {
            throw new NotImplementedException();
        }
        if (!listParameter.getGroups().isEmpty()) {
            throw new NotImplementedException();
        }
        if (!Strings.isNullOrEmpty(listParameter.getUser())) {